package com.design.bridge.file;

// Linux 文件系统实现类
class LinuxFileSystem implements FileSystem {
    @Override
    public void writeFile(String fileName, String content) {
        System.out.println("Writing file to Linux file system: " + fileName);
        // 实际的写文件逻辑
    }

    @Override
    public String readFile(String fileName) {
        System.out.println("Reading file from Linux file system: " + fileName);
        // 实际的读文件逻辑
        return "File content from Linux";
    }
}
